//
//  ConnectModel.h
//  UI网络block
//
//  Created by dllo on 15/5/15.
//  Copyright (c) 2015年 蓝鸥. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ConnectModel : NSObject<NSURLConnectionDataDelegate>

- (void)createConnect:(NSString *)str;

+ (void)connectWithURL:(NSString *)url block:(void(^)(NSData * data))block;

@property (nonatomic, copy) void(^finishBlock)(NSData * data);

@property (nonatomic, retain) NSMutableData * receiveData;

@end
